package br.com.news.database.utils.interfaces;

import java.io.Serializable;
import java.util.List;

import br.com.news.database.utils.BaseEntity;

public interface IGenericDao <T extends BaseEntity, ID extends Serializable>{

	T findById(ID id);
	List<T> findAll();
	ID save(T entity);
	void update(T entity);
	void delete(T entity);

}
